package com.blog.pojo;

public class User extends BaseModel
{
    /**
	 * 
	 */
    private static final long serialVersionUID = 1L;

    private String userName;
    private String userPwd;
    private String regEmail;// varchar(100) NO
    private String regIP;// varchar(15) NO
    private String regTime;// varchar(14) NO
    private String loginIP;// varchar(15) YES
    private String loginTime;// (yyyyMMddHHmmss)
    private int state;//

    public User()
    {
    }

    public String getUserPwd()
    {
        return userPwd;
    }

    public void setUserPwd(String userPwd)
    {
        this.userPwd = userPwd;
    }

    public String getUserName()
    {
        // if(CommonUtil.isEmpty(userName)){
        // return regEmail;
        // }
        return userName;
    }

    public void setUserName(String userName)
    {
        this.userName = userName;
    }

    public String getRegEmail()
    {
        return regEmail;
    }

    public void setRegEmail(String regEmail)
    {
        this.regEmail = regEmail;
    }

    public String getRegIP()
    {
        return regIP;
    }

    public void setRegIP(String regIP)
    {
        this.regIP = regIP;
    }

    public String getRegTime()
    {
        return regTime;
    }

    public void setRegTime(String regTime)
    {
        this.regTime = regTime;
    }

    public String getLoginIP()
    {
        return loginIP;
    }

    public void setLoginIP(String loginIP)
    {
        this.loginIP = loginIP;
    }

    public String getLoginTime()
    {
        return loginTime;
    }

    public void setLoginTime(String loginTime)
    {
        this.loginTime = loginTime;
    }

    public int getState()
    {
        return state;
    }

    public void setState(int state)
    {
        this.state = state;
    }
}
